import './assets/main.css'
import '@fortawesome/fontawesome-free/css/all.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import { createTrackingDirective } from './composables/useStudyTracker'

const app = createApp(App)

app.use(createPinia())
app.use(router)

// 注册学习追踪指令
app.directive('track-click', createTrackingDirective())

app.mount('#app')
